<script lang="ts" setup>
import { injectState } from "../state";

defineOptions({ name: "Headler" });

const { selectedList, tableRef, detailDialogRef } = injectState()!;
</script>

<template>
	<div flex="~ justify-between">
		<div flex="~">
			<el-button type="primary" @click="detailDialogRef?.trigger('write')">
				<template #icon>
					<el-icon class="i-custom:add" />
				</template>
				添加
			</el-button>
		</div>
	</div>
</template>
